<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/Actor.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">Actor.h</div></div>
</div><!--header-->
<div class="contents">
<a href="geo3dml_2_actor_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_feature_8h.html">Feature.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;<a class="code" href="_symbolizer_8h.html">Symbolizer.h</a>&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="foldopen" id="foldopen00009" data-start="{" data-end="};">
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html">    9</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_actor.html">Actor</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_object.html">Object</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a45455986a32dc3401cae569476ea3540">   11</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a45455986a32dc3401cae569476ea3540">Actor</a>();</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a6ee5d7b0d07c749b5a7559fdb2c0fafd">   12</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a6ee5d7b0d07c749b5a7559fdb2c0fafd">~Actor</a>();</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#ab2c4403c1106f8f575befb01f2abc13c">   14</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_actor.html#ab2c4403c1106f8f575befb01f2abc13c">SetName</a>(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a85d7f7b45421641d54379ed170fc2218">   15</a></span>        std::string <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a85d7f7b45421641d54379ed170fc2218">GetName</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a6a957370c124e46ac50f29cf45869b44">   21</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a6a957370c124e46ac50f29cf45869b44">BindGeometry</a>(<a class="code hl_class" href="classgeo3dml_1_1_feature.html">Feature</a>* feature, <a class="code hl_class" href="classgeo3dml_1_1_geometry.html">Geometry</a>* geo, <a class="code hl_class" href="classgeo3dml_1_1_symbolizer.html">Symbolizer</a>* sym) = 0;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#ac3690394d68986f1f67bd522f3fb9466">   22</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classgeo3dml_1_1_feature.html">Feature</a>* <a class="code hl_function" href="classgeo3dml_1_1_actor.html#ac3690394d68986f1f67bd522f3fb9466">GetBindingFeature</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a001ea43d55420721faf22560e9ead3a8">   23</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classgeo3dml_1_1_geometry.html">Geometry</a>* <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a001ea43d55420721faf22560e9ead3a8">GetBindingGeometry</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a21cab639cc138e5eae066acec9fe366a">   25</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a21cab639cc138e5eae066acec9fe366a">IsVisible</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a8f13fd3f49eef252ac0d1107941fbaf5">   26</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a8f13fd3f49eef252ac0d1107941fbaf5">SetVisible</a>(<span class="keywordtype">bool</span> show) = 0;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#ad30c961ed8aeaed143189965fa7bf57f">   30</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classgeo3dml_1_1_symbolizer.html">Symbolizer</a>* <a class="code hl_function" href="classgeo3dml_1_1_actor.html#ad30c961ed8aeaed143189965fa7bf57f">MakeSymbozier</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a7d20e40a2b41adb8ea66876b04f24f8e">   34</a></span>        <a class="code hl_struct" href="structgeo3dml_1_1_box3_d.html">Box3D</a> <a class="code hl_function" href="classgeo3dml_1_1_actor.html#a7d20e40a2b41adb8ea66876b04f24f8e">GetMinimumBoundingRectangle</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_actor.html#a53be763430a7e20c3b14ee16ccf06949">   37</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_actor.html#a53be763430a7e20c3b14ee16ccf06949">name_</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    };</div>
</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>}</div>
<div class="ttc" id="a_feature_8h_html"><div class="ttname"><a href="_feature_8h.html">Feature.h</a></div></div>
<div class="ttc" id="a_symbolizer_8h_html"><div class="ttname"><a href="_symbolizer_8h.html">Symbolizer.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html"><div class="ttname"><a href="classgeo3dml_1_1_actor.html">geo3dml::Actor</a></div><div class="ttdoc">A rendered object in a layer.</div><div class="ttdef"><b>Definition</b> Actor.h:9</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a001ea43d55420721faf22560e9ead3a8"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a001ea43d55420721faf22560e9ead3a8">geo3dml::Actor::GetBindingGeometry</a></div><div class="ttdeci">virtual Geometry * GetBindingGeometry() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a21cab639cc138e5eae066acec9fe366a"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a21cab639cc138e5eae066acec9fe366a">geo3dml::Actor::IsVisible</a></div><div class="ttdeci">virtual bool IsVisible() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a45455986a32dc3401cae569476ea3540"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a45455986a32dc3401cae569476ea3540">geo3dml::Actor::Actor</a></div><div class="ttdeci">Actor()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a53be763430a7e20c3b14ee16ccf06949"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a53be763430a7e20c3b14ee16ccf06949">geo3dml::Actor::name_</a></div><div class="ttdeci">std::string name_</div><div class="ttdef"><b>Definition</b> Actor.h:37</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a6a957370c124e46ac50f29cf45869b44"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a6a957370c124e46ac50f29cf45869b44">geo3dml::Actor::BindGeometry</a></div><div class="ttdeci">virtual void BindGeometry(Feature *feature, Geometry *geo, Symbolizer *sym)=0</div><div class="ttdoc">绑定要素及其关联的几何体和可视化参数。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a6ee5d7b0d07c749b5a7559fdb2c0fafd"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a6ee5d7b0d07c749b5a7559fdb2c0fafd">geo3dml::Actor::~Actor</a></div><div class="ttdeci">virtual ~Actor()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a7d20e40a2b41adb8ea66876b04f24f8e"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a7d20e40a2b41adb8ea66876b04f24f8e">geo3dml::Actor::GetMinimumBoundingRectangle</a></div><div class="ttdeci">Box3D GetMinimumBoundingRectangle() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a85d7f7b45421641d54379ed170fc2218"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a85d7f7b45421641d54379ed170fc2218">geo3dml::Actor::GetName</a></div><div class="ttdeci">std::string GetName() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_a8f13fd3f49eef252ac0d1107941fbaf5"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#a8f13fd3f49eef252ac0d1107941fbaf5">geo3dml::Actor::SetVisible</a></div><div class="ttdeci">virtual void SetVisible(bool show)=0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_ab2c4403c1106f8f575befb01f2abc13c"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#ab2c4403c1106f8f575befb01f2abc13c">geo3dml::Actor::SetName</a></div><div class="ttdeci">void SetName(const std::string &amp;name)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_ac3690394d68986f1f67bd522f3fb9466"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#ac3690394d68986f1f67bd522f3fb9466">geo3dml::Actor::GetBindingFeature</a></div><div class="ttdeci">virtual Feature * GetBindingFeature() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_actor_html_ad30c961ed8aeaed143189965fa7bf57f"><div class="ttname"><a href="classgeo3dml_1_1_actor.html#ad30c961ed8aeaed143189965fa7bf57f">geo3dml::Actor::MakeSymbozier</a></div><div class="ttdeci">virtual Symbolizer * MakeSymbozier() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_html"><div class="ttname"><a href="classgeo3dml_1_1_feature.html">geo3dml::Feature</a></div><div class="ttdef"><b>Definition</b> Feature.h:10</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html">geo3dml::Geometry</a></div><div class="ttdoc">A Geometry object is thread safe.</div><div class="ttdef"><b>Definition</b> Geometry.h:11</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_object_html"><div class="ttname"><a href="classgeo3dml_1_1_object.html">geo3dml::Object</a></div><div class="ttdef"><b>Definition</b> Geo3DML.h:7</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_symbolizer_html"><div class="ttname"><a href="classgeo3dml_1_1_symbolizer.html">geo3dml::Symbolizer</a></div><div class="ttdoc">Visualization parameter.</div><div class="ttdef"><b>Definition</b> Symbolizer.h:6</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
<div class="ttc" id="astructgeo3dml_1_1_box3_d_html"><div class="ttname"><a href="structgeo3dml_1_1_box3_d.html">geo3dml::Box3D</a></div><div class="ttdef"><b>Definition</b> Box3D.h:7</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
